package com.pingba.view.nearby;

/**
 * Created by Administrator on 2015/12/10 0010.
 */
public class MsgSendView {

    private long sid;// int(11) NOT NULL AUTO_INCREMENT COMMENT '流水号'
    private long userId;// int(11) NOT NULL DEFAULT 0 COMMENT '用户的id',
    private String headUrl; //用户的头像地址，每次从数据库中读取出来
    private String userName; //用户的名字，每次从数据库中读取出来
    private double longitude;// decimal(10,2) COMMENT '经纬度x',
    private double latitude;// decimal(10,2) COMMENT '经纬度y',
    private String location;//消息发布的位置
    private String content;// VARCHAR(50) COMMENT '消息的内容',
    private String title;  // varchar(20) COMMENT '标题'
    private String imgUrl1;// VARCHAR(60) COMMENT '第一张图片的地址，默认可以为空',
    private String imgUrl2;// VARCHAR(60) COMMENT '第二张图片的地址，默认可以为空',
    private boolean haveResponse;// TINYINT(1) NOT NULL DEFAULT '0' COMMENT'是否有消息回复，0为没有消息回复，1为有消息',
    private boolean readed; // TINYINT(1) NOT NULL DEFAULT '0' COMMENT'是否有消息回复，0为没有消息回复，1为有消息',
    private long publishTime;// DATETIME NOT NULL  COMMENT '具体的发布时间',
    private long expireTime;// DATETIME NOT NULL  COMMENT '消息是失效时间',
    private long typeId;       //消息的类型id
    private boolean isLike;     //用户是否收藏


    public void setContent(String content) {
        this.content = content;
    }

    public void setExpireTime(long expireTime) {
        this.expireTime = expireTime;
    }

    public void setHaveResponse(boolean haveResponse) {
        this.haveResponse = haveResponse;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public void setImgUrl1(String imgUrl1) {
        this.imgUrl1 = imgUrl1;
    }

    public void setImgUrl2(String imgUrl2) {
        this.imgUrl2 = imgUrl2;
    }

    public void setIsLike(boolean isLike) {
        this.isLike = isLike;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public void setPublishTime(long publishTime) {
        this.publishTime = publishTime;
    }

    public void setReaded(boolean readed) {
        this.readed = readed;
    }

    public void setSid(long sid) {
        this.sid = sid;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setTypeId(long typeId) {
        this.typeId = typeId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public long getExpireTime() {
        return expireTime;
    }

    public boolean isHaveResponse() {
        return haveResponse;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public String getImgUrl1() {
        return imgUrl1;
    }

    public String getImgUrl2() {
        return imgUrl2;
    }

    public boolean isLike() {
        return isLike;
    }

    public double getLatitude() {
        return latitude;
    }

    public String getLocation() {
        return location;
    }

    public double getLongitude() {
        return longitude;
    }

    public long getPublishTime() {
        return publishTime;
    }

    public boolean isReaded() {
        return readed;
    }

    public long getSid() {
        return sid;
    }

    public String getTitle() {
        return title;
    }

    public long getTypeId() {
        return typeId;
    }

    public long getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }
}
